package com.brainhealth.customer.mapper;

import java.util.List;
import com.brainhealth.customer.domain.CustomerLearn;

/**
 * 会员学习记录Mapper接口
 * 
 * @author wolong
 * @date 2023-05-06
 */
public interface CustomerLearnMapper 
{
    /**
     * 查询会员学习记录
     * 
     * @param customerLearnId 会员学习记录主键
     * @return 会员学习记录
     */
    public CustomerLearn selectCustomerLearnByCustomerLearnId(Long customerLearnId);

    /**
     * 查询会员学习记录列表
     * 
     * @param customerLearn 会员学习记录
     * @return 会员学习记录集合
     */
    public List<CustomerLearn> selectCustomerLearnList(CustomerLearn customerLearn);

    /**
     * 新增会员学习记录
     * 
     * @param customerLearn 会员学习记录
     * @return 结果
     */
    public int insertCustomerLearn(CustomerLearn customerLearn);

    /**
     * 修改会员学习记录
     * 
     * @param customerLearn 会员学习记录
     * @return 结果
     */
    public int updateCustomerLearn(CustomerLearn customerLearn);

    /**
     * 删除会员学习记录
     * 
     * @param customerLearnId 会员学习记录主键
     * @return 结果
     */
    public int deleteCustomerLearnByCustomerLearnId(Long customerLearnId);

    /**
     * 批量删除会员学习记录
     * 
     * @param customerLearnIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerLearnByCustomerLearnIds(Long[] customerLearnIds);
}
